package com.github.chain.admin.common.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.*;

/**
 * @author AIQ
 * @date 2023/5/11
 * @project er-trader
 */
@Data
public class Menu implements Serializable {

    private Long id;
    private String title;
    private Long pid;
    private String pids;
    private String url;
    private String perms;
    private String icon;
    private Integer type;
    private Integer sort;
    private String remark;
    private Date createDate;
    private Date updateDate;
    private Long createBy;
    private Long updateBy;
    private Integer status;
    private User createUser;
    private User updateUser;

    private Map<Long, Menu> children = new HashMap<>();

}
